export class Response<T> {
  code: number
  header: Map<string, string>
  message?: string
  rawResponse: any

  constructor(code: number, header: Map<string, string>, message?: string, rawResponse?: any) {
    this.code = code
    this.message = message
    this.rawResponse = rawResponse
  }
}